From: Linus Kardell Date: Wed, 10 Sep 2025 09:59:17 +0000 (+0200) Subject: liburcu: correct licenses X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=971672252db5b5fa30114e872d9751eb1eae5849;p=feed%2Fpackages.git liburcu: correct licenses I've listed what files contain each SPDX-License-Identifier, and tried to classify their purpose as below: - BSD-2-Clause: `tests/**` (tests) - CC0-1.0: `extras/abi/**/*.xml` (documentation) - CC-BY-4.0: `ChangeLog`, `**/*.md` (documentation) - FSFAP: `m4/*.m4` (build system) - GPL-2.0-only: `tests/**`, `extras/abi/dump_abi.sh` (tests, documentation) - GPL-2.0-or-later: `scripts/urcu-api-list.sh`, `tests/**` (tests, documentation) - GPL-2.0-or-later WITH Autoconf-exception-2.0: `m4/ae_pprint.m4` (build system) - GPL-2.0-or-later WITH LicenseRef-Autoconf-exception-macro: `m4/*.m4` (build system) - GPL-3.0-or-later: `tests/utils/tap.sh` (tests) - LGPL-2.1-only: `configure.ac`, `include/**/*.h` (build system, headers) - LGPL-2.1-or-later: `doc/**`, `include/**/*.h`, `src/**/*.{c,h}`, `tests/**`, (documentation, headers, source, tests) - LicenseRef-Boehm-GC: `include/**/*.h`, `tests/common/thread-id.h` (headers, documentation) - MIT: `.gitignore`, `.gitreview`, `Makefile.am`, `bootstrap`, `doc/**`, `extras/Makefile.am`, `include/Makefile.am`, `include/**/*.h`, `src/**/*.{am,h,pc.in}`, `tests/**` (documentation, build system, headers, source control) Then in PKG_LICENSE I've included licenses which are used for headers, source, or build system. I've also corrected PKG_LICENSE_FILES: license texts are in the LICENSES directory, lgpl-relicensing ends with .md, and I've added the overarching LICENSE.md. Signed-off-by: Linus Kardell --- diff --git a/libs/liburcu/Makefile b/libs/liburcu/Makefile index 662064fe0b..8aa5b245ec 100644 --- a/libs/liburcu/Makefile +++ b/libs/liburcu/Makefile @@ -10,11 +10,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=liburcu PKG_VERSION:=0.15.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Daniel Salzman -PKG_LICENSE:=LGPL-2.1-or-later GPL-2.0-or-later MIT -PKG_LICENSE_FILES:=lgpl-2.1.txt gpl-2.0.txt lgpl-relicensing.txt +PKG_LICENSE:=LGPL-2.1-only LGPL-2.1-or-later GPL-2.0-or-later-with-Autoconf-exception-2.0 \ + GPL-2.0-or-later-with-LicenseRef-Autoconf-exception-macro MIT FSFAP LicenseRef-Boehm-GC +PKG_LICENSE_FILES:=LICENSES/LGPL-2.1-only.txt LICENSES/LGPL-2.1-or-later.txt LICENSES/GPL-2.0-or-later.txt \ + LICENSES/Autoconf-exception-2.0.txt LICENSES/LicenseRef-Autoconf-exception-macro.txt \ + LICENSES/MIT.txt LICENSES/FSFAP.txt LICENSES/LicenseRef-Boehm-GC.txt lgpl-relicensing.md LICENSE.md PKG_SOURCE:=userspace-rcu-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://lttng.org/files/urcu/